projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed02f5
)
x86_emulate: BT instruction does not write to its 'destination' operand.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 22 Apr 2008 09:27:04 +0000
(10:27 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 22 Apr 2008 09:27:04 +0000
(10:27 +0100)
This fixes w2k3 guests occasionally writing back to read-only registers.
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
xen/arch/x86/x86_emulate/x86_emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_emulate/x86_emulate.c
b/xen/arch/x86/x86_emulate/x86_emulate.c
index b9bc790af172320fbb6d5713b72e9f63a1215d68..2b7ddeffbbac26baadfd29faacc2c9526d192e39 100644
(file)
--- a/
xen/arch/x86/x86_emulate/x86_emulate.c
+++ b/
xen/arch/x86/x86_emulate/x86_emulate.c
@@
-3041,6
+3041,7
@@
x86_emulate(
case 0xa3: bt: /* bt */
emulate_2op_SrcV_nobyte("bt", src, dst, _regs.eflags);
+ dst.type = OP_NONE;
break;
case 0xa4: /* shld imm8,r,r/m */